<?php
namespace Aqrun\HelloWorld\Model\ResourceModel\Post;

class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
    protected $_idFieldName = 'post_id';
    protected $_eventPrefix = 'aqrun_helloworld_post_collection';
    protected $_eventObject = 'post_collection';

    protected function _construct()
    {
        $this->_init(\Aqrun\HelloWorld\Model\Post::class,
            \Aqrun\HelloWorld\Model\ResourceModel\Post::class);
    }
}